import { Input } from 'antd';
import React from 'react';

// 审批要点说明
export default function Explain({ isEdit, value, handleExplain }) {
  return (
    <div className="approve-box-content-paragraph">
      <div className="approve-box-content-paragraph-title">审批要点说明</div>
      <Input.TextArea
        rows={1}
        autoSize
        maxLength={500}
        disabled={!isEdit}
        value={value}
        onChange={handleExplain}
      />
    </div>
  );
}
